package LombokDemo;

import lombok.extern.slf4j.Slf4j;

import java.util.ArrayList;
import java.util.List;

@Slf4j
public class UserService {
    //private static final Logger log = LoggerFactory.getLogger(UserService.class);
    public List<UserInfo> getAll(){
        //log.info("getAll方法打印log");
        log.info("getAll方法打印log");
        return new ArrayList<>();
    }

    public static void main(String[] args) {
        //log.info("main函数打印log");
        log.info("main函数打印log");
        UserService user = new UserService();
        user.getAll();
    }
}
